const base='/doc';
export const ttAPI = {
    //点赞
    doThumbdoc  :base+"/thumb",
//删除日记API POST
    deletedoc    :base+"/delete",
//更新日记API post
    updatedocs   :base+"/update",
    getdocHistory : base+"/getHistory?id:",
    getdocByid:base+"/get?id:",
    getdocslistByFavorite:base+"/list/myfavorite",
    getdocslistPage:base+"/list",
    getdocslistBydocTitle:base+"/list/common?sortField:createTime&docTitle:",
//获取某个用户笔记列表
    getdocslistByuserid:base+"/list/common?sortField:createTime&userId:",
//新增日记api post
    adddocs:base+"/direct/add",
    getDirectlist:base+'/direct/get',
    addDirect:base+'/direct/add',
    deleteDirect:base+'/direct/delete',
//导出excel
    exportVoExcel:base+"/exportVoExcel",
    getdocsGarbagePage:base+"/list/garbage",
    recoverydoc:base+"/recovery"
}
